package oop.ex1.actions;
import java.io.*;


/**
 * a class that performs actions on file according to user demands
 * @author danalmog
 * @author danielshalev
 */
public abstract class Actions  {
	
	/**
	 * constructor that saves the files after being filtered
	 * @param file the files list
	 */
	public Actions(File file){}
	
	/**
	 * performs the action.
	 * @throws ActionYesNoExeption
	 * @throws CopyDirExeption
	 * @throws ActionDateException
	 * @throws BadFileExeption
	 */
	public abstract void doAction() throws ActionYesNoExeption, CopyDirExeption, ActionDateException, BadFileExeption;



	
}